package com.example.pojo.aboutUser;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class User {

    private Integer id;

    // 学号/学工号
    private String stuId;

    // 用户姓名
    private String name;

    // 用户邮箱
    private String email;

    private String password;

    private String telephone;

    // 账号状态（是否启用）
    private Boolean accState;

    // 逻辑删除
    private Boolean isDelete;

    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;

    @TableField(fill = FieldFill.INSERT)
    private Integer createPerson;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updatePerson;
}
